{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "033d7821",
   "metadata": {},
   "outputs": [],
   "source": [
    "import dish_system"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "a468c33d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "识别一：寿司 (置信度0.96%)\n",
      "识别二：紫菜包饭 (置信度0.01%)\n",
      "识别三：反卷 (置信度0.00%)\n",
      "识别四：三文鱼刺身 (置信度0.00%)\n",
      "识别五：鳗鱼卷 (置信度0.00%)\n"
     ]
    }
   ],
   "source": [
    "dish_system.system('food.jpg')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "1a0635a6",
   "metadata": {},
   "outputs": [],
   "source": [
    "import food_system"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "9628ff96",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Help on module food_system:\n",
      "\n",
      "NAME\n",
      "    food_system\n",
      "\n",
      "FUNCTIONS\n",
      "    system(kind)\n",
      "        该函数为美食推荐系统，请输入[正餐/甜点小吃/奶茶饮料]\n",
      "\n",
      "FILE\n",
      "    c:\\users\\c嘉嘉\\desktop\\api_-ai_-ml\\week05\\基于百度ai的食探者菜品识别小应用\\food_system.py\n",
      "\n",
      "\n"
     ]
    }
   ],
   "source": [
    "help(food_system)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "2453ce72",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "冰激凌\n"
     ]
    }
   ],
   "source": [
    "food_system.system('奶茶饮料')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "4860ffff",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
